public class Main {

	public static void main(String[] args) {

		System.out.println("1");
        System.out.println("5");
		System.out.println("2");
		System.out.println("3");
	}

	
}
